/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public class ReturnNode extends Node
/*    */ {
/*    */   private Node expression;
/*    */ 
/*    */   public ReturnNode(SourcePosition paramSourcePosition, Node paramNode)
/*    */   {
/* 34 */     super(paramSourcePosition);
/* 35 */     this.expression = paramNode;
/*    */   }
/*    */ 
/*    */   public ZemObject eval(Interpreter paramInterpreter)
/*    */   {
/* 40 */     throw new ReturnException(this.expression.eval(paramInterpreter));
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 45 */     StringBuilder localStringBuilder = new StringBuilder();
/* 46 */     localStringBuilder.append("(return ");
/* 47 */     localStringBuilder.append(this.expression);
/* 48 */     localStringBuilder.append(')');
/* 49 */     return localStringBuilder.toString();
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.ReturnNode
 * JD-Core Version:    0.6.1
 */